package com.lxlg.lxlg_order.service.service;

import com.alipay.api.AlipayApiException;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lxlg.core.utils.Result;
import com.lxlg.lxlg_order.client.param.GoodsRefundForm;
import com.lxlg.lxlg_order.client.param.RefundMoneyForm;
import com.lxlg.lxlg_order.client.result.GoodsRefundInfo;
import com.lxlg.lxlg_order.infra.model.GoodsRefund;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author kevin
 * @since 2022-04-28
 */
public interface GoodsRefundService extends IService<GoodsRefund> {

    Result<GoodsRefundInfo> doRequserReturn(GoodsRefundForm goodsRefundForm);

    Result<?> doRefund(RefundMoneyForm refundMoneyForm) throws AlipayApiException;
}
